package cn.zstu.seckill.dao;

import cn.zstu.seckill.entity.User;
import org.apache.ibatis.annotations.Param;


public interface UserMapper {

    User selectByPhoneAndPassword(@Param("phone") String phone , @Param("password") String password);

    //检查phone是否存在
    User checkPhone(@Param("phone") String phone );
}
